/**
 * @description: 可用酒店图片
 * @author: yuanjianpeng5
 * @createdate: 2020-01-08 17:09
 * @lastdate:
 */

package expedia;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Map;

@Data
public class HotelImage {

    //图片标题
    @JSONField(name = "caption")
    private String caption;

    //是否为特大图片
    @JSONField(name = "hero_image")
    private boolean isheroImage;

    //图片的类别
    @JSONField(name = "category")
    private int category;

    //有可用图片尺寸的 URL
    @JSONField(name = "links")
    private Map<String, HotelLink> links;

}